﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HMS_Hospital_Team2._6.DA;
using System.Data;

namespace HMS_Hospital_Team2._6.BL
{
    class LoaiPhongBanBL
    {
        public DataTable LoadDuLieuBL()
        {
            LoaiPhongBanDA Loaipb = new LoaiPhongBanDA();
            return Loaipb.LoadDuLieuDA();
        }
        public static void ThemMoiLoaiPhongBan(string sMaloaiphong, string TenLoaiPhong, string GhiChu, bool TrangThai)
        {
            DA.LoaiPhongBanDA.ThemMoiLoaiPhongBan(sMaloaiphong,TenLoaiPhong, GhiChu, TrangThai);

        }
        public static void CapNhatLoaiPhongBan(string MaLoaiPhong, string TenLoaiPhong, string GhiChu, bool TrangThai) {
            DA.LoaiPhongBanDA.CapNhatLoaiPhongBan(MaLoaiPhong, TenLoaiPhong, GhiChu, TrangThai);
        }
    }
}
